package model;

import controller.FileDoc;

public class ThreadReadFile extends Thread {
	
	private Carnet carnet;
	
	public ThreadReadFile(Carnet mine){
		this.carnet =  mine ;
	}
	
	public void run(){
		FileDoc file = new FileDoc();
		
		file.orderCarnet(file.recupCarnet("Estelle"));
		carnet.copy(file.recupCarnet("Estelle"));
		System.out.println("test l18 in model.threadreadfile : impression du carnet");
		
	}

}
